<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class CaseEvent extends Model
{
	use HasDateTimeFormatter;
    protected $table = 'case_events';

    public function caseCustomer()
    {
        return $this->belongsTo(CaseCustomer::class);
    }

    public function adminUser()
    {
        return $this->belongsTo(AdminUser::class);
    }

    public function caseContact()
    {
        return $this->belongsTo(CaseContact::class);
    }
}
